﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("AppUserList", "AppUserList", new string[] { "USERCODE" })]
    [KnownType(typeof(AppUserList))]
    public class AppUserList //: MB.Orm.Common.BaseModel
    {
        public AppUserList()
        {

        }
        private int _USERID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("USERID", System.Data.DbType.Int32)]
        public int USERID
        {
            get { return _USERID; }
            set { _USERID = value; }
        }
        private string _USERCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("USERCODE", System.Data.DbType.String)]
        public string USERCODE
        {
            get { return _USERCODE; }
            set { _USERCODE = value; }
        }
        private string _PASSWORD;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PASSWORD", System.Data.DbType.String)]
        public string PASSWORD
        {
            get { return _PASSWORD; }
            set { _PASSWORD = value; }
        }
        private string _USERNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("USERNAME", System.Data.DbType.String)]
        public string USERNAME
        {
            get { return _USERNAME; }
            set { _USERNAME = value; }
        }
       
        [DataMember]
        public string ErrorMsg { get; set; }
    }
}
